LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := VideoControl

LOCAL_SRC_FILES := ../../../ZUI/videoControl/VideoPlayer.cpp ../../../ZUI/videoControl/ZVideoControl.cpp

ifeq ($(PM5_CONFIG),debug)
  LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../ZUI $(LOCAL_PATH)/../../../ZUI/support $(LOCAL_PATH)/../../../ZUI/thirdParty $(LOCAL_PATH)/../../../ZUI/thirdParty/ffmpeg/include $(LOCAL_PATH)/../../../ZUI/thirdParty/SDL2/include $(LOCAL_PATH)/../../../ZUI/thirdParty/curl/include $(LOCAL_PATH)/../../../ZUI/videoControl/ffmpeg/include
  LOCAL_CPP_FEATURES := exceptions
  LOCAL_CFLAGS := -D__ANDROID__ -DSUPPORT_VIDEO_CONTROL -DDEBUG -D_DEBUG -D_CRTDBG_MAP_ALLOC -DDEBUG_MALLOC -DSDL_STATICLIB
  include $(BUILD_STATIC_LIBRARY)
endif

ifeq ($(PM5_CONFIG),release)
  LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../ZUI $(LOCAL_PATH)/../../../ZUI/support $(LOCAL_PATH)/../../../ZUI/thirdParty $(LOCAL_PATH)/../../../ZUI/thirdParty/ffmpeg/include $(LOCAL_PATH)/../../../ZUI/thirdParty/SDL2/include $(LOCAL_PATH)/../../../ZUI/thirdParty/curl/include $(LOCAL_PATH)/../../../ZUI/videoControl/ffmpeg/include
  LOCAL_CPP_FEATURES := exceptions
  LOCAL_CFLAGS := -D__ANDROID__ -DSUPPORT_VIDEO_CONTROL -DNDEBUG -DSDL_STATICLIB
  include $(BUILD_STATIC_LIBRARY)
endif